@echo off
echo 启动AI服务模块...
echo.

cd service-model\Ai-Model

echo 清理并编译项目...
call mvn clean compile
if %errorlevel% neq 0 (
    echo 编译失败！
    pause
    exit /b 1
)

echo.
echo 编译成功，启动应用...
call mvn spring-boot:run

pause
